package de.gameduell.framework.facebook {
	import de.gameduell.facebook.service.gen.GameState;

	import flash.events.Event;

	public class FBBaseGameStateEvent extends Event {
		
		public static var STATE_CHANGED:String = "gamestate_state_changed";
		private var _state:GameState;
		
		public function FBBaseGameStateEvent(type:String, aGameState:GameState, bubbles:Boolean = false, cancelable:Boolean = false) {
			super(type, bubbles, cancelable);
			_state = aGameState;
		}
		
		public function get state():GameState {
			return _state;
		}
	}
}
